home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / Developer Documentation / Human Interface / Human Interface Q & A / HI Q&A #1 < prev    next >
Encoding:
Text File  |  1996-04-26  |  14.1 KB  |  264 lines  |  [ttro/ttxt]

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17. Q & A #1
  18.  
  19. By the Apple Computer OpenDoc Human Interface Team
  20.  
  21. As published in the January 1995 Apple Directions .
  22.  
  23. We frequently receive questions about OpenDoc that need to be answered in a
  24. public forum to help our partners' OpenDoc development efforts. These
  25. questions come from our colleagues and engineers in the human interface
  26. community through conversation and e-mail, and they address OpenDoc topics
  27. we think more of you want to know about. The answers we provide are
  28. applicable to all known implementations of OpenDoc. Platform specific
  29. answers may be called out (with a link from here).
  30.  
  31. Q: What has changed from today's application-centered world?
  32.  
  33. A: A fundamental change from today's application-centered world is that
  34. applications will be replaced with part editors and part viewers. In OpenDoc
  35. the primary focus is on the user's tasks and data instead of on the part
  36. editors being used. Editors are installed in a special folder, the Editors
  37. folder, as described in the OpenDoc human interface guidelines. So the part
  38. editors remain hidden until the user needs them to manipulate some content.
  39. Today, when a user opens a document, its application generally starts
  40. automatically. In OpenDoc, part editors start in a similar way. But OpenDoc
  41. automatically stops part editors when they are no longer needed--that is,
  42. when there are no longer any open documents that use them. This means that
  43. the user never needs to quit, and a part editor never leaves its menu bar
  44. displayed after its last window is closed. We think this minimizes user
  45. confusion.
  46.  
  47. It's important to note, however, that because part editors are started and
  48. stopped at random times, your part editor will cause distraction if it
  49. displays a "splash screen" every time it is launched.
  50.  
  51. Macintosh Developers can check the OpenDoc Human Interface Guidelines for
  52. the Macintosh on the OpenDoc with SOM Developer Release CD (sent to all
  53. Apple Associates and Partners along with the January 1995 issue of Apple
  54. Directions . This CD is also available in the January issue of MacTech
  55. magazine.
  56.  
  57. Q: Is everything a document? What isn't?
  58.  
  59. A: Evidently, there is some real confusion over what a document is, and more
  60. fundamentally, why this new technology is called OpenDoc. So what's in a
  61. name? We currently think in terms of a document as the product of an
  62. application--or the realization of a collection of ideas. We've taken that
  63. concept a step further in OpenDoc and conceptualized the document as a
  64. collection, not of static representations of ideas, but of active, live
  65. parts. Consequently, an OpenDoc document is a bounding mechanism for just
  66. about anything you'd like to collect together. In short, a document is a
  67. container that is open to any kind of data or active behavior you want to
  68. include.
  69.  
  70. For more info, you may find Gregg William's Strategy Mosaic column in the
  71. November 1994 edition of Apple Directions, interesting. (Sorry, this isn't
  72. online yet.)
  73.  
  74. Q: What is an active part?
  75.  
  76. A: This topic is often confusing the first time it's explained. Fortunately,
  77. our user studies show that determining which part is active is transparent
  78. to users--they don't have problems using this element of OpenDoc. (Hey,
  79. maybe it's just that we didn't try to explain it to them.) But it is
  80. important for developers to understand the conceptual model we are
  81. presenting to our users. The active part is the part that is currently
  82. receiving input events; it identifies itself by sporting the active border.
  83. As a user "mouses around" and changes the selection or adds content, the
  84. active border appears wherever there is a selection or insertion point in a
  85. part. As in today's Macintosh environment, there is only one selection in a
  86. window, so only one part is active at a time. When a part is active, its
  87. menus are displayed in the menu bar, and it receives the keyboard and other
  88. input device events. (Exception: When a dialog box is displayed by the
  89. active part, it normally handles these events.)
  90.  
  91. You can think of the active part as being like the active window, which
  92. indicates where the user is currently working. Today's active window uses
  93. distinct visual feedback; similarly, the OpenDoc active part uses its own
  94. visual feedback--the active border. This border is the boundary of the part,
  95. and it tells users about the part in which they're working: how big an area
  96. they have to work in, and how far they can drag and drop content before
  97. going outside this part.
  98.  
  99. Let's assume that we're writing this article using an OpenDoc text editor,
  100. instead of a conventional word processor. We're working inside the text part
  101. and the text part is active. While using the text editor, we see the text
  102. editor's menus. Now suppose we paste a picture into this text; that would be
  103. a different part, but it would be content within the text. To edit the
  104. picture, we just click inside the picture, and, because it now receives the
  105. input focus, it becomes the active part, and the active border is drawn
  106. around the picture instead of the text. Now the keyboard and other input
  107. device events are being handled by the picture's part editor.
  108.  
  109. Q: Why not just click anywhere on a part to select it?
  110.  
  111. A: In an "inside-out" model, the first click performs an action on the
  112. deepest level. The alternative "outside-in" model requires users to click
  113. once to activate the content, and then again to set an insertion point or
  114. make a selection. We know from research going back to the Xerox Star in the
  115. early 1980s (and confirmed by our recent user studies) that users strongly
  116. prefer to click once in some content to start editing it. We also know that
  117. users edit the contents of a part more frequently than they manipulate an
  118. entire part. Although these results are task-dependent and there isn't a
  119. large percentage of difference in preferences, we believe we've learned that
  120. the "inside-out" model of single-clicking to start editing improves the
  121. usability of the system. Let's investigate the vagaries of single-clicking
  122. and the reasons why OpenDoc uses it according to the "inside-out" model just
  123. described. Imagine a different model in which the user single-clicks to
  124. select the part. Once the part has been selected with a single click, this
  125. model requires a different mechanism for editing the contents of the part.
  126. But a part may contain more content nested within itself, and often the
  127. nesting is invisible. Consequently, a model that uses a single click for
  128. part selection demands that the user navigate an often invisible hierarchy.
  129. The navigation mechanism typically used is the double click, because it
  130. means "open." But it also means "select a word or some larger content."
  131. Thus, when users try to insert a word into a label within a chart, they
  132. might be forced to double-click several times to tunnel down through the
  133. hierarchy of nested parts. And then at the end, if they misjudge the number
  134. of levels, they are likely to inadvertently select a word instead of placing
  135. an insertion point. With the OpenDoc model, a single click places the
  136. insertion point where the user wants it.
  137.  
  138. Q: How do users make the transition from applications to parts? How
  139.  
  140. transparent is this transition? How can users tell if something is
  141. "OpenDoc-enabled"?
  142.  
  143. A: From our user studies we kept hearing things like "You fixed some of the
  144. bugs" and "That's the way it's supposed to work." We're very happy, because
  145. we know it is vital that users feel that the system has improved, rather
  146. than having simply changed. While we anticipate that users will notice that
  147. working with parts is different from working with today's applications,
  148. we've implemented sufficient visual feedback to let users know they're
  149. working within OpenDoc. What, exactly, looks different about OpenDoc?
  150. Working in OpenDoc doesn't necessarily look different from working in
  151. today's environment. While users may use OpenDoc to create the same
  152. traditional types of documents that they create today, they may also create
  153. component documents that look and behave differently. It is the change in
  154. how one interacts with a document that is significant, and we've developed
  155. feedback such as active and selected part borders to help users shift focus
  156. easily among various parts in a component document.
  157.  
  158. Additionally, OpenDoc has distinctive icons identified with the OpenDoc
  159. logo. Since stationery and documents behave pretty much the same way they
  160. always have, their icons should follow current icon development guidelines.
  161. However, editor and viewer icons do not behave exactly like today's
  162. application icons--for example, they won't perform correctly if they're not
  163. properly stored, and double-clicking them doesn't produce the same results
  164. as double-clicking an application icon. Therefore, we've developed a
  165. distinctive shape for OpenDoc editor and viewer icons to help users notice
  166. the difference.
  167.  
  168. To smooth the transition from applications to OpenDoc parts, we have
  169. introduced guidelines on how to help your application fit in better in the
  170. OpenDoc Human Interface Guidelines for the Macintosh on the OpenDoc with SOM
  171. Developer Release CD. For example, supporting drag-and-drop capability is
  172. highly encouraged.
  173.  
  174. Q: What is the role of stationery in OpenDoc? How should developers use
  175. stationery?
  176.  
  177. A: OpenDoc uses stationery as a starting point for users to get a new
  178. document or new kind of content into their document. Many applications today
  179. ship stationery pads, and OpenDoc continues that practice. Most users will
  180. start off using stationery supplied by part developers or by vertical market
  181. developers, so shipping some samples is a good idea. You should ship at
  182. least one stationery pad that can be used to create a new document
  183. containing one instance of your part. As users become more sophisticated in
  184. their use of stationery, they will develop their own novel forms and uses.
  185.  
  186. For example, if you ship a drawing editor, your stationery pad should create
  187. an empty drawing document. If your editor does network database queries,
  188. your stationery pad should create a document that contains a blank query
  189. form. Of course, we encourage you to ship samples as stationery, too. For an
  190. editor that does network database queries, you might provide two stationery
  191. pads--one with a simple query and another with a more complex query.
  192.  
  193. Because stationery should be installed in a location that users can find
  194. easily, we are introducing the Stationery Folder. Check the OpenDoc 
  195. Human Interface Guidelines for the Macintosh for details.
  196.  
  197. Q: What happens when I receive a document that uses an editor I don't have?
  198.  
  199.  
  200. A: This is probably the question we're asked most frequently. The short
  201. answer is that while there is no magic that can make the "missing editor"
  202. problem disappear, there are at least two workable solutions: viewers and
  203. translators. If users don't have the appropriate part editor (or
  204. application), they pray that they have a useful viewer so that they can at
  205. least view, if not manipulate, the document just received. Viewers currently
  206. exist, and we suspect that needing to use one in the OpenDoc world should
  207. occur about as often as it does now. We encourage developers to provide
  208. translation as another option for working with data for which users have no
  209. part editor. However, translation offers varying degrees of fidelity to the
  210. original. The longer answer is that in today's offices and homes, users who
  211. frequently exchange data tend to take advantage of the same set of
  212. applications. This occurs because the use of common applications is mandated
  213. by management, or is tacitly agreed upon among users. Users also tend to
  214. have a few applications outside the set they commonly use so that they can
  215. read documents sent from outside their immediate group.
  216.  
  217. All of these same solutions and more are used in OpenDoc. First, a part may
  218. store its data in several formats so that quality translation is more
  219. probable, if it should be required. Second, Apple strongly encourages you to
  220. create a viewer for your part that can be distributed freely. That way,
  221. OpenDoc will provide users with a better solution than today's applications,
  222. because users will always be able to view a document, even when they don't
  223. have the appropriate part editor to manipulate it.
  224.  
  225. Q: What is linking? For what is it intended?
  226.  
  227. A: Linking is intended to allow users to replicate data dynamically, much as
  228. the publish and subscribe feature does in System 7.0. We know that the
  229. publish and subscribe feature is not used by a large number of users. In
  230. part, this is because many users don't need this functionality; it's also
  231. because publish and subscribe is difficult to use. While OpenDoc's linking
  232. has a much-improved interface, not every user will take advantage of
  233. linking. Linking allows users to copy and paste data as a link from one
  234. location to another, keeping the copy updated as the original changes. The
  235. destination part accepts the link content as either merged or embedded
  236. content. Links are one-way; that is, the original source content is
  237. duplicated at the link destination. If the link destinations are within the
  238. same document as the source, changes made at the source are automatically
  239. and immediately reflected in the copied content at the link destination.
  240. Links that cross document boundaries are automatically updated when the
  241. document is saved, or the user can manually specify when to update.
  242.  
  243. Linking is an efficient way to keep copies of changing data in
  244. synchronization when it is copied to many locations inside or outside the
  245. original data's location. However, linking is also a way to use the same
  246. data more than once, and display it differently (this is in addition to
  247. OpenDoc's ability to display a part in several alternate "views"). Linking
  248. allows multiple copies of the part to stay synchronized. Thus, for example,
  249. a spreadsheet can be duplicated so that the original (or source) data is
  250. displayed as a spreadsheet, and the other copy (the destination) is
  251. displayed as a bar chart; the bar chart changes its display whenever the
  252. spreadsheet changes.
  253.  
  254. We use special link borders to indicate to the user that some content is a
  255. link. Consult the OpenDoc Human Interface Guidelines for the Macintosh for
  256. more details on the behavior and the display guidelines for linking.
  257.  
  258. _______________________________________________________
  259. Authors: Dave Curbow and Elizabeth Dykstra-Erickson writing for the OpenDoc
  260. Human Interface teams.
  261.  
  262. Copyright (c) 1995 by Apple Computer, Inc. All Rights Reserved.
  263.  
  264.